<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="refresh" content="200"/>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo __('Reviews'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css('layout');
		echo $this->Html->css($css_array);

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body>
	<?php echo $this->Session->flash();?>
	<?php echo $this->Session->flash('auth');?>
	<div id="canvas">
		<div id="header">
			<div id="titulo"><?php echo $this->Html->link(__('Reviews'), '/');
			echo $this->Html->link('Logout', '/usuarios/logout')?></div>
			<div id="acesso">Acesse aqui<br/>
				<?php echo $this->Form->create('Usuario', array('url'=>'/usuarios/login'));
				echo $this->Form->input('email');
				echo $this->Form->input('senha');
				echo $this->Form->end('Entrar');
				echo $this->Html->link('Registre-se!', '/usuarios/add');
				?>
			</div>
		</div>
		<div class="clear"></div>
		<div id="pagina">
			<div id="barra_busca">
				<input type=text value="Digite aqui o que você precisa"/>
			</div>
			<?php echo $content_for_layout;?>
		</div>
		<div id="rodape">
			Reviews<br/>
			Por Willen Goulart
		</div>
	</div>
</body>
</html>
<?php echo $this->element('sql_dump'); ?>